@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListComponentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListComponentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListComponentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getByName()
Returns the list of components for the specified name.
|
List<Filter> |
getFilters()
Use the following filters to streamline results:
|
Integer |
getMaxResults()
The maximum items to return in a request.
|
String |
getNextToken()
A token to specify where to start paginating.
|
String |
getOwner()
Filters results based on the type of owner for the component.
|
int |
hashCode() |
Boolean |
isByName()
Returns the list of components for the specified name.
|
void |
setByName(Boolean byName)
Returns the list of components for the specified name.
|
void |
setFilters(Collection<Filter> filters)
Use the following filters to streamline results:
|
void |
setMaxResults(Integer maxResults)
The maximum items to return in a request.
|
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
void |
setOwner(String owner)
Filters results based on the type of owner for the component.
|
String |
toString()
Returns a string representation of this object.
|
ListComponentsRequest |
withByName(Boolean byName)
Returns the list of components for the specified name.
|
ListComponentsRequest |
withFilters(Collection<Filter> filters)
Use the following filters to streamline results:
|
ListComponentsRequest |
withFilters(Filter... filters)
Use the following filters to streamline results:
|
ListComponentsRequest |
withMaxResults(Integer maxResults)
The maximum items to return in a request.
|
ListComponentsRequest |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
ListComponentsRequest |
withOwner(Ownership owner)
Filters results based on the type of owner for the component.
|
ListComponentsRequest |
withOwner(String owner)
Filters results based on the type of owner for the component.
|
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 setOwner(String owner)
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
owner
- Filters results based on the type of owner for the component. By default, this request returns a list of
components that your account owns. To see results for other types of owners, you can specify components
that Amazon manages, third party components, or components that other accounts have shared with you.Ownership
public String getOwner()
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
Ownership
public ListComponentsRequest withOwner(String owner)
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
owner
- Filters results based on the type of owner for the component. By default, this request returns a list of
components that your account owns. To see results for other types of owners, you can specify components
that Amazon manages, third party components, or components that other accounts have shared with you.Ownership
public ListComponentsRequest withOwner(Ownership owner)
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
owner
- Filters results based on the type of owner for the component. By default, this request returns a list of
components that your account owns. To see results for other types of owners, you can specify components
that Amazon manages, third party components, or components that other accounts have shared with you.Ownership
public List<Filter> getFilters()
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
description
name
platform
supportedOsVersion
type
version
public void setFilters(Collection<Filter> filters)
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
filters
- Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
public ListComponentsRequest withFilters(Filter... filters)
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
public ListComponentsRequest withFilters(Collection<Filter> filters)
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
filters
- Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
public void setByName(Boolean byName)
Returns the list of components for the specified name.
byName
- Returns the list of components for the specified name.public Boolean getByName()
Returns the list of components for the specified name.
public ListComponentsRequest withByName(Boolean byName)
Returns the list of components for the specified name.
byName
- Returns the list of components for the specified name.public Boolean isByName()
Returns the list of components for the specified name.
public void setMaxResults(Integer maxResults)
The maximum items to return in a request.
maxResults
- The maximum items to return in a request.public Integer getMaxResults()
The maximum items to return in a request.
public ListComponentsRequest withMaxResults(Integer maxResults)
The maximum items to return in a request.
maxResults
- The maximum items to return in a request.public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the nextToken from a previously truncated response.public String getNextToken()
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
public ListComponentsRequest withNextToken(String nextToken)
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the nextToken from a previously truncated response.public String toString()
toString
in class Object
Object.toString()
public ListComponentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()