Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class ServiceEndpoint

java.lang.Object
  extended by com.amazonaws.services.cloudsearch.model.ServiceEndpoint

public class ServiceEndpoint
extends Object

The endpoint to which service requests can be submitted, including the actual URL prefix for sending requests and the Amazon Resource Name (ARN) so the endpoint can be referenced in other API calls such as UpdateServiceAccessPolicies.


Constructor Summary
ServiceEndpoint()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getArn()
          An Amazon Resource Name (ARN).
 String getEndpoint()
          The URL (including /version/pathPrefix) to which service requests can be submitted.
 int hashCode()
           
 void setArn(String arn)
          An Amazon Resource Name (ARN).
 void setEndpoint(String endpoint)
          The URL (including /version/pathPrefix) to which service requests can be submitted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ServiceEndpoint withArn(String arn)
          An Amazon Resource Name (ARN).
 ServiceEndpoint withEndpoint(String endpoint)
          The URL (including /version/pathPrefix) to which service requests can be submitted.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceEndpoint

public ServiceEndpoint()
Method Detail

getArn

public String getArn()
An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

Returns:
An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

setArn

public void setArn(String arn)
An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

Parameters:
arn - An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

withArn

public ServiceEndpoint withArn(String arn)
An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

Returns a reference to this object so that method calls can be chained together.

Parameters:
arn - An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndpoint

public String getEndpoint()
The URL (including /version/pathPrefix) to which service requests can be submitted.

Returns:
The URL (including /version/pathPrefix) to which service requests can be submitted.

setEndpoint

public void setEndpoint(String endpoint)
The URL (including /version/pathPrefix) to which service requests can be submitted.

Parameters:
endpoint - The URL (including /version/pathPrefix) to which service requests can be submitted.

withEndpoint

public ServiceEndpoint withEndpoint(String endpoint)
The URL (including /version/pathPrefix) to which service requests can be submitted.

Returns a reference to this object so that method calls can be chained together.

Parameters:
endpoint - The URL (including /version/pathPrefix) to which service requests can be submitted.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.