@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLinksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetLinksRequest() |
Modifier and Type | Method and Description |
---|---|
GetLinksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGlobalNetworkId()
The ID of the global network.
|
List<String> |
getLinkIds()
One or more link IDs.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getProvider()
The link provider.
|
String |
getSiteId()
The ID of the site.
|
String |
getType()
The link type.
|
int |
hashCode() |
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLinkIds(Collection<String> linkIds)
One or more link IDs.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setProvider(String provider)
The link provider.
|
void |
setSiteId(String siteId)
The ID of the site.
|
void |
setType(String type)
The link type.
|
String |
toString()
Returns a string representation of this object.
|
GetLinksRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GetLinksRequest |
withLinkIds(Collection<String> linkIds)
One or more link IDs.
|
GetLinksRequest |
withLinkIds(String... linkIds)
One or more link IDs.
|
GetLinksRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetLinksRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetLinksRequest |
withProvider(String provider)
The link provider.
|
GetLinksRequest |
withSiteId(String siteId)
The ID of the site.
|
GetLinksRequest |
withType(String type)
The link type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public GetLinksRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public List<String> getLinkIds()
One or more link IDs. The maximum is 10.
public void setLinkIds(Collection<String> linkIds)
One or more link IDs. The maximum is 10.
linkIds
- One or more link IDs. The maximum is 10.public GetLinksRequest withLinkIds(String... linkIds)
One or more link IDs. The maximum is 10.
NOTE: This method appends the values to the existing list (if any). Use
setLinkIds(java.util.Collection)
or withLinkIds(java.util.Collection)
if you want to override
the existing values.
linkIds
- One or more link IDs. The maximum is 10.public GetLinksRequest withLinkIds(Collection<String> linkIds)
One or more link IDs. The maximum is 10.
linkIds
- One or more link IDs. The maximum is 10.public void setSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String getSiteId()
The ID of the site.
public GetLinksRequest withSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public void setType(String type)
The link type.
type
- The link type.public String getType()
The link type.
public GetLinksRequest withType(String type)
The link type.
type
- The link type.public void setProvider(String provider)
The link provider.
provider
- The link provider.public String getProvider()
The link provider.
public GetLinksRequest withProvider(String provider)
The link provider.
provider
- The link provider.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public GetLinksRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetLinksRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetLinksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()