Interface CreateCapabilityResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<CreateCapabilityResponse.Builder,CreateCapabilityResponse>,SdkBuilder<CreateCapabilityResponse.Builder,CreateCapabilityResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateCapabilityResponse
public static interface CreateCapabilityResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<CreateCapabilityResponse.Builder,CreateCapabilityResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCapabilityResponse.BuildercapabilityArn(String capabilityArn)Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.CreateCapabilityResponse.BuildercapabilityId(String capabilityId)Returns a system-assigned unique identifier for the capability.default CreateCapabilityResponse.Builderconfiguration(Consumer<CapabilityConfiguration.Builder> configuration)Returns a structure that contains the details for a capability.CreateCapabilityResponse.Builderconfiguration(CapabilityConfiguration configuration)Returns a structure that contains the details for a capability.CreateCapabilityResponse.BuildercreatedAt(Instant createdAt)Returns a timestamp for creation date and time of the capability.CreateCapabilityResponse.BuilderinstructionsDocuments(Collection<S3Location> instructionsDocuments)Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.CreateCapabilityResponse.BuilderinstructionsDocuments(Consumer<S3Location.Builder>... instructionsDocuments)Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.CreateCapabilityResponse.BuilderinstructionsDocuments(S3Location... instructionsDocuments)Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.CreateCapabilityResponse.Buildername(String name)Returns the name of the capability used to identify it.CreateCapabilityResponse.Buildertype(String type)Returns the type of the capability.CreateCapabilityResponse.Buildertype(CapabilityType type)Returns the type of the capability.-
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
capabilityId
CreateCapabilityResponse.Builder capabilityId(String capabilityId)
Returns a system-assigned unique identifier for the capability.
- Parameters:
capabilityId- Returns a system-assigned unique identifier for the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityArn
CreateCapabilityResponse.Builder capabilityArn(String capabilityArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
- Parameters:
capabilityArn- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateCapabilityResponse.Builder name(String name)
Returns the name of the capability used to identify it.
- Parameters:
name- Returns the name of the capability used to identify it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
CreateCapabilityResponse.Builder type(String type)
Returns the type of the capability. Currently, only
ediis supported.- Parameters:
type- Returns the type of the capability. Currently, onlyediis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapabilityType,CapabilityType
-
type
CreateCapabilityResponse.Builder type(CapabilityType type)
Returns the type of the capability. Currently, only
ediis supported.- Parameters:
type- Returns the type of the capability. Currently, onlyediis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapabilityType,CapabilityType
-
configuration
CreateCapabilityResponse.Builder configuration(CapabilityConfiguration configuration)
Returns a structure that contains the details for a capability.
- Parameters:
configuration- Returns a structure that contains the details for a capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateCapabilityResponse.Builder configuration(Consumer<CapabilityConfiguration.Builder> configuration)
Returns a structure that contains the details for a capability.
This is a convenience method that creates an instance of theCapabilityConfiguration.Builderavoiding the need to create one manually viaCapabilityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(CapabilityConfiguration).- Parameters:
configuration- a consumer that will call methods onCapabilityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(CapabilityConfiguration)
-
instructionsDocuments
CreateCapabilityResponse.Builder instructionsDocuments(Collection<S3Location> instructionsDocuments)
Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
- Parameters:
instructionsDocuments- Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructionsDocuments
CreateCapabilityResponse.Builder instructionsDocuments(S3Location... instructionsDocuments)
Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
- Parameters:
instructionsDocuments- Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructionsDocuments
CreateCapabilityResponse.Builder instructionsDocuments(Consumer<S3Location.Builder>... instructionsDocuments)
Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instructionsDocuments(List.) - Parameters:
instructionsDocuments- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instructionsDocuments(java.util.Collection)
-
createdAt
CreateCapabilityResponse.Builder createdAt(Instant createdAt)
Returns a timestamp for creation date and time of the capability.
- Parameters:
createdAt- Returns a timestamp for creation date and time of the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-