@Generated(value="software.amazon.awssdk:codegen") public final class CreatePipelineRequest extends DataPipelineRequest implements ToCopyableBuilder<CreatePipelineRequest.Builder,CreatePipelineRequest>
Contains the parameters for CreatePipeline.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePipelineRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePipelineRequest.Builder |
builder() |
String |
description()
The description for the pipeline.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
name()
The name for the pipeline.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePipelineRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A list of tags to associate with the pipeline at creation.
|
CreatePipelineRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uniqueId()
A unique identifier.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.
public final String uniqueId()
A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline.
You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this
parameter to ensure idempotency during repeated calls to CreatePipeline. For example, if the first
call to CreatePipeline does not succeed, you can pass in the same unique identifier and pipeline
name combination on a subsequent call to CreatePipeline. CreatePipeline ensures that if
a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead,
you'll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique
identifier combination is scoped to the AWS account or IAM user credentials.
CreatePipeline. For
example, if the first call to CreatePipeline does not succeed, you can pass in the same
unique identifier and pipeline name combination on a subsequent call to CreatePipeline.
CreatePipeline ensures that if a pipeline already exists with the same name and unique
identifier, a new pipeline is not created. Instead, you'll receive the pipeline identifier from the
previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS
account or IAM user credentials.public final String description()
The description for the pipeline.
public final boolean hasTags()
isEmpty() 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.public final List<Tag> tags()
A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.
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 hasTags() method.
public CreatePipelineRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePipelineRequest.Builder,CreatePipelineRequest>toBuilder in class DataPipelineRequestpublic static CreatePipelineRequest.Builder builder()
public static Class<? extends CreatePipelineRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.