Class CreateQueueEnvironmentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.deadline.model.DeadlineRequest
-
- software.amazon.awssdk.services.deadline.model.CreateQueueEnvironmentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateQueueEnvironmentRequest.Builder,CreateQueueEnvironmentRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateQueueEnvironmentRequest extends DeadlineRequest implements ToCopyableBuilder<CreateQueueEnvironmentRequest.Builder,CreateQueueEnvironmentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateQueueEnvironmentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateQueueEnvironmentRequest.Builderbuilder()StringclientToken()The unique token which the server uses to recognize retries of the same request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfarmId()The farm ID of the farm to connect to the environment.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerpriority()Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority.StringqueueId()The queue ID to connect the queue and environment.List<SdkField<?>>sdkFields()static Class<? extends CreateQueueEnvironmentRequest.Builder>serializableBuilderClass()Stringtemplate()The environment template to use in the queue.EnvironmentTemplateTypetemplateType()The template's file type,JSONorYAML.StringtemplateTypeAsString()The template's file type,JSONorYAML.CreateQueueEnvironmentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientToken
public final String clientToken()
The unique token which the server uses to recognize retries of the same request.
- Returns:
- The unique token which the server uses to recognize retries of the same request.
-
farmId
public final String farmId()
The farm ID of the farm to connect to the environment.
- Returns:
- The farm ID of the farm to connect to the environment.
-
priority
public final Integer priority()
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
- Returns:
- Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
-
queueId
public final String queueId()
The queue ID to connect the queue and environment.
- Returns:
- The queue ID to connect the queue and environment.
-
template
public final String template()
The environment template to use in the queue.
- Returns:
- The environment template to use in the queue.
-
templateType
public final EnvironmentTemplateType templateType()
The template's file type,
JSONorYAML.If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnEnvironmentTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The template's file type,
JSONorYAML. - See Also:
EnvironmentTemplateType
-
templateTypeAsString
public final String templateTypeAsString()
The template's file type,
JSONorYAML.If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnEnvironmentTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The template's file type,
JSONorYAML. - See Also:
EnvironmentTemplateType
-
toBuilder
public CreateQueueEnvironmentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateQueueEnvironmentRequest.Builder,CreateQueueEnvironmentRequest>- Specified by:
toBuilderin classDeadlineRequest
-
builder
public static CreateQueueEnvironmentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateQueueEnvironmentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-