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 |
getEndpoint()
The URL to which service requests can be submitted.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The URL to which service requests can be submitted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ServiceEndpoint |
withEndpoint(String endpoint)
The URL to which service requests can be submitted.
|
public String getEndpoint()
search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.public void setEndpoint(String endpoint)
search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.endpoint
- The URL to which service requests can be submitted. Includes the API
version and path prefix. For example,
search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.public ServiceEndpoint withEndpoint(String endpoint)
search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.
Returns a reference to this object so that method calls can be chained together.
endpoint
- The URL to which service requests can be submitted. Includes the API
version and path prefix. For example,
search-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/search
or
doc-imdb-movies-oopcnjfn6ugofer3zx5iadxxca.eu-west-1.cloudsearch.amazonaws.com/2013-01-01/documents/batch
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.