public class ServiceEndpoint extends Object implements Serializable
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 and Description |
---|
ServiceEndpoint() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getArn()
public void setArn(String arn)
arn
- An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS
Identity and Access Management for more information.public ServiceEndpoint withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- An Amazon Resource Name (ARN). See Identifiers for IAM Entities in Using AWS
Identity and Access Management for more information.public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint
- The URL (including /version/pathPrefix) to which service requests can
be submitted.public ServiceEndpoint withEndpoint(String endpoint)
Returns a reference to this object so that method calls can be chained together.
endpoint
- The URL (including /version/pathPrefix) to which service requests can
be submitted.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.