Interface GetCapabilityResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>,SdkBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCapabilityResponse
public static interface GetCapabilityResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<GetCapabilityResponse.Builder,GetCapabilityResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetCapabilityResponse.BuildercapabilityArn(String capabilityArn)Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.GetCapabilityResponse.BuildercapabilityId(String capabilityId)Returns a system-assigned unique identifier for the capability.default GetCapabilityResponse.Builderconfiguration(Consumer<CapabilityConfiguration.Builder> configuration)Returns a structure that contains the details for a capability.GetCapabilityResponse.Builderconfiguration(CapabilityConfiguration configuration)Returns a structure that contains the details for a capability.GetCapabilityResponse.BuildercreatedAt(Instant createdAt)Returns a timestamp for creation date and time of the capability.GetCapabilityResponse.BuilderinstructionsDocuments(Collection<S3Location> instructionsDocuments)Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.GetCapabilityResponse.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.GetCapabilityResponse.BuilderinstructionsDocuments(S3Location... instructionsDocuments)Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability.GetCapabilityResponse.BuildermodifiedAt(Instant modifiedAt)Returns a timestamp for last time the capability was modified.GetCapabilityResponse.Buildername(String name)Returns the name of the capability, used to identify it.GetCapabilityResponse.Buildertype(String type)Returns the type of the capability.GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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 GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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
GetCapabilityResponse.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.
-
modifiedAt
GetCapabilityResponse.Builder modifiedAt(Instant modifiedAt)
Returns a timestamp for last time the capability was modified.
- Parameters:
modifiedAt- Returns a timestamp for last time the capability was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-