Class UpdateJobQueueRequest
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<UpdateJobQueueRequest.Builder,- UpdateJobQueueRequest> 
 Contains the parameters for UpdateJobQueue.
 
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()final List<ComputeEnvironmentOrder> Details the set of compute environments mapped to a job queue and their order relative to each other.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final booleanFor responses, this returns true if the service returned a value for the ComputeEnvironmentOrder property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the JobStateTimeLimitActions property.final booleanFor responses, this returns true if the service returned a value for the ServiceEnvironmentOrder property.final StringjobQueue()The name or the Amazon Resource Name (ARN) of the job queue.final List<JobStateTimeLimitAction> The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times.final Integerpriority()The priority of the job queue.final StringAmazon Resource Name (ARN) of the fair-share scheduling policy.static Class<? extends UpdateJobQueueRequest.Builder> final List<ServiceEnvironmentOrder> The order of the service environment associated with the job queue.final JQStatestate()Describes the queue's ability to accept new jobs.final StringDescribes the queue's ability to accept new jobs.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequestoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
jobQueueThe name or the Amazon Resource Name (ARN) of the job queue. - Returns:
- The name or the Amazon Resource Name (ARN) of the job queue.
 
- 
stateDescribes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept jobs. If the job queue state isDISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.If the service returns an enum value that is not available in the current SDK version, statewill returnJQState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Describes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept jobs. If the job queue state isDISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.
- See Also:
 
- 
stateAsStringDescribes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept jobs. If the job queue state isDISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.If the service returns an enum value that is not available in the current SDK version, statewill returnJQState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Describes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept jobs. If the job queue state isDISABLED, new jobs can't be added to the queue, but jobs already in the queue can finish.
- See Also:
 
- 
schedulingPolicyArnAmazon Resource Name (ARN) of the fair-share scheduling policy. Once a job queue is created, the fair-share scheduling policy can be replaced but not removed. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name. For example,aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.- Returns:
- Amazon Resource Name (ARN) of the fair-share scheduling policy. Once a job queue is created, the
         fair-share scheduling policy can be replaced but not removed. The format is
         aws:Partition:batch:Region:Account:scheduling-policy/Name. For example,aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.
 
- 
priorityThe priority of the job queue. Job queues with a higher priority (or a higher integer value for the priorityparameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of10is given scheduling preference over a job queue with a priority value of1. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.- Returns:
- The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
         priorityparameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of10is given scheduling preference over a job queue with a priority value of1. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.
 
- 
hasComputeEnvironmentOrderpublic final boolean hasComputeEnvironmentOrder()For responses, this returns true if the service returned a value for the ComputeEnvironmentOrder property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
computeEnvironmentOrderDetails the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment runs a given job. Compute environments must be in the VALIDstate before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasComputeEnvironmentOrder()method.- Returns:
- Details the set of compute environments mapped to a job queue and their order relative to each other.
         This is one of the parameters used by the job scheduler to determine which compute environment runs a
         given job. Compute environments must be in the VALIDstate before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2orSPOT) or Fargate (FARGATEorFARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue. 
 
- 
hasServiceEnvironmentOrderpublic final boolean hasServiceEnvironmentOrder()For responses, this returns true if the service returned a value for the ServiceEnvironmentOrder property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
serviceEnvironmentOrderThe order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasServiceEnvironmentOrder()method.- Returns:
- The order of the service environment associated with the job queue. Job queues with a higher priority are evaluated first when associated with the same service environment.
 
- 
hasJobStateTimeLimitActionspublic final boolean hasJobStateTimeLimitActions()For responses, this returns true if the service returned a value for the JobStateTimeLimitActions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
jobStateTimeLimitActionsThe set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSecondshas passed. (Note: The minimum value for maxTimeSeconds is 600 (10 minutes) and its maximum value is 86,400 (24 hours).)Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasJobStateTimeLimitActions()method.- Returns:
- The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified
         state longer than specified times. Batch will perform each action after maxTimeSecondshas passed. (Note: The minimum value for maxTimeSeconds is 600 (10 minutes) and its maximum value is 86,400 (24 hours).)
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<UpdateJobQueueRequest.Builder,- UpdateJobQueueRequest> 
- Specified by:
- toBuilderin class- BatchRequest
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCodepublic final int hashCode()- Overrides:
- hashCodein class- AwsRequest
 
- 
equals- Overrides:
- equalsin class- AwsRequest
 
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForFieldDescription copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
- getValueForFieldin class- SdkRequest
- Parameters:
- fieldName- The name of the member to be retrieved.
- clazz- The class to cast the returned object to.
- Returns:
- Optional containing the casted return value
 
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-