Class PollForTaskRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.datapipeline.model.DataPipelineRequest
-
- software.amazon.awssdk.services.datapipeline.model.PollForTaskRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>
@Generated("software.amazon.awssdk:codegen") public final class PollForTaskRequest extends DataPipelineRequest implements ToCopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>
Contains the parameters for PollForTask.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePollForTaskRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PollForTaskRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()The public DNS name of the calling task runner.InstanceIdentityinstanceIdentity()Identity information for the EC2 instance that is hosting the task runner.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PollForTaskRequest.Builder>serializableBuilderClass()PollForTaskRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkerGroup()The type of task the task runner is configured to accept and process.-
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
-
workerGroup
public final String workerGroup()
The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for
workerGroupin the call toPollForTask. There are no wildcard values permitted inworkerGroup; the string must be an exact, case-sensitive, match.- Returns:
- The type of task the task runner is configured to accept and process. The worker group is set as a field
on objects in the pipeline when they are created. You can only specify a single value for
workerGroupin the call toPollForTask. There are no wildcard values permitted inworkerGroup; the string must be an exact, case-sensitive, match.
-
hostname
public final String hostname()
The public DNS name of the calling task runner.
- Returns:
- The public DNS name of the calling task runner.
-
instanceIdentity
public final InstanceIdentity instanceIdentity()
Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance using
http://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.- Returns:
- Identity information for the EC2 instance that is hosting the task runner. You can get this value from
the instance using
http://169.254.169.254/latest/meta-data/instance-id. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.
-
toBuilder
public PollForTaskRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PollForTaskRequest.Builder,PollForTaskRequest>- Specified by:
toBuilderin classDataPipelineRequest
-
builder
public static PollForTaskRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PollForTaskRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-