@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobDefinitionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for DescribeJobDefinitions.
NOOP| Constructor and Description |
|---|
DescribeJobDefinitionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeJobDefinitionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getJobDefinitionName()
The name of the job definition to describe.
|
List<String> |
getJobDefinitions()
A list of up to 100 job definitions.
|
Integer |
getMaxResults()
The maximum number of results returned by
DescribeJobDefinitions in paginated output. |
String |
getNextToken()
The
nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. |
String |
getStatus()
The status used to filter job definitions.
|
int |
hashCode() |
void |
setJobDefinitionName(String jobDefinitionName)
The name of the job definition to describe.
|
void |
setJobDefinitions(Collection<String> jobDefinitions)
A list of up to 100 job definitions.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results returned by
DescribeJobDefinitions in paginated output. |
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. |
void |
setStatus(String status)
The status used to filter job definitions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeJobDefinitionsRequest |
withJobDefinitionName(String jobDefinitionName)
The name of the job definition to describe.
|
DescribeJobDefinitionsRequest |
withJobDefinitions(Collection<String> jobDefinitions)
A list of up to 100 job definitions.
|
DescribeJobDefinitionsRequest |
withJobDefinitions(String... jobDefinitions)
A list of up to 100 job definitions.
|
DescribeJobDefinitionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results returned by
DescribeJobDefinitions in paginated output. |
DescribeJobDefinitionsRequest |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. |
DescribeJobDefinitionsRequest |
withStatus(String status)
The status used to filter job definitions.
|
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, withSdkRequestTimeoutpublic List<String> getJobDefinitions()
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with other
parameters.
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a
short version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used
with other parameters.public void setJobDefinitions(Collection<String> jobDefinitions)
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with other
parameters.
jobDefinitions - A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with
other parameters.public DescribeJobDefinitionsRequest withJobDefinitions(String... jobDefinitions)
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with other
parameters.
NOTE: This method appends the values to the existing list (if any). Use
setJobDefinitions(java.util.Collection) or withJobDefinitions(java.util.Collection) if you want
to override the existing values.
jobDefinitions - A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with
other parameters.public DescribeJobDefinitionsRequest withJobDefinitions(Collection<String> jobDefinitions)
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with other
parameters.
jobDefinitions - A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short
version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with
other parameters.public void setMaxResults(Integer maxResults)
The maximum number of results returned by DescribeJobDefinitions in paginated output. When this
parameter is used, DescribeJobDefinitions only returns maxResults results in a single
page and a nextToken response element. The remaining results of the initial request can be seen by
sending another DescribeJobDefinitions request with the returned nextToken value. This
value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up
to 100 results and a nextToken value if applicable.
maxResults - The maximum number of results returned by DescribeJobDefinitions in paginated output. When
this parameter is used, DescribeJobDefinitions only returns maxResults results
in a single page and a nextToken response element. The remaining results of the initial
request can be seen by sending another DescribeJobDefinitions request with the returned
nextToken value. This value can be between 1 and 100. If this parameter isn't used, then
DescribeJobDefinitions returns up to 100 results and a nextToken value if
applicable.public Integer getMaxResults()
The maximum number of results returned by DescribeJobDefinitions in paginated output. When this
parameter is used, DescribeJobDefinitions only returns maxResults results in a single
page and a nextToken response element. The remaining results of the initial request can be seen by
sending another DescribeJobDefinitions request with the returned nextToken value. This
value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up
to 100 results and a nextToken value if applicable.
DescribeJobDefinitions in paginated output. When
this parameter is used, DescribeJobDefinitions only returns maxResults results
in a single page and a nextToken response element. The remaining results of the initial
request can be seen by sending another DescribeJobDefinitions request with the returned
nextToken value. This value can be between 1 and 100. If this parameter isn't used, then
DescribeJobDefinitions returns up to 100 results and a nextToken value if
applicable.public DescribeJobDefinitionsRequest withMaxResults(Integer maxResults)
The maximum number of results returned by DescribeJobDefinitions in paginated output. When this
parameter is used, DescribeJobDefinitions only returns maxResults results in a single
page and a nextToken response element. The remaining results of the initial request can be seen by
sending another DescribeJobDefinitions request with the returned nextToken value. This
value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up
to 100 results and a nextToken value if applicable.
maxResults - The maximum number of results returned by DescribeJobDefinitions in paginated output. When
this parameter is used, DescribeJobDefinitions only returns maxResults results
in a single page and a nextToken response element. The remaining results of the initial
request can be seen by sending another DescribeJobDefinitions request with the returned
nextToken value. This value can be between 1 and 100. If this parameter isn't used, then
DescribeJobDefinitions returns up to 100 results and a nextToken value if
applicable.public void setJobDefinitionName(String jobDefinitionName)
The name of the job definition to describe.
jobDefinitionName - The name of the job definition to describe.public String getJobDefinitionName()
The name of the job definition to describe.
public DescribeJobDefinitionsRequest withJobDefinitionName(String jobDefinitionName)
The name of the job definition to describe.
jobDefinitionName - The name of the job definition to describe.public void setStatus(String status)
The status used to filter job definitions.
status - The status used to filter job definitions.public String getStatus()
The status used to filter job definitions.
public DescribeJobDefinitionsRequest withStatus(String status)
The status used to filter job definitions.
status - The status used to filter job definitions.public void setNextToken(String nextToken)
The nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. Pagination continues
from the end of the previous results that returned the nextToken value. This value is
null when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a previous paginated DescribeJobDefinitions
request where maxResults was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the nextToken value.
This value is null when there are no more results to return. Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. Pagination continues
from the end of the previous results that returned the nextToken value. This value is
null when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken value returned from a previous paginated DescribeJobDefinitions
request where maxResults was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the nextToken value.
This value is null when there are no more results to return. Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
public DescribeJobDefinitionsRequest withNextToken(String nextToken)
The nextToken value returned from a previous paginated DescribeJobDefinitions request
where maxResults was used and the results exceeded the value of that parameter. Pagination continues
from the end of the previous results that returned the nextToken value. This value is
null when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken - The nextToken value returned from a previous paginated DescribeJobDefinitions
request where maxResults was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the nextToken value.
This value is null when there are no more results to return. Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString in class ObjectObject.toString()public DescribeJobDefinitionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()