Interface Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,Resource>,SdkBuilder<Resource.Builder,Resource>,SdkPojo
- Enclosing class:
- Resource
public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Resource.Builderarn(String arn)The Amazon resource name (ARN) of the resource.Resource.BuilderassociationTime(Instant associationTime)The time the resource was associated with the application.default Resource.Builderintegrations(Consumer<ResourceIntegrations.Builder> integrations)The service integration information about the resource.Resource.Builderintegrations(ResourceIntegrations integrations)The service integration information about the resource.Resource.Buildername(String name)The name of the resource.-
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
-
-
-
-
Method Detail
-
name
Resource.Builder name(String name)
The name of the resource.
- Parameters:
name- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Resource.Builder arn(String arn)
The Amazon resource name (ARN) of the resource.
- Parameters:
arn- The Amazon resource name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTime
Resource.Builder associationTime(Instant associationTime)
The time the resource was associated with the application.
- Parameters:
associationTime- The time the resource was associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
Resource.Builder integrations(ResourceIntegrations integrations)
The service integration information about the resource.
- Parameters:
integrations- The service integration information about the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
default Resource.Builder integrations(Consumer<ResourceIntegrations.Builder> integrations)
The service integration information about the resource.
This is a convenience method that creates an instance of theResourceIntegrations.Builderavoiding the need to create one manually viaResourceIntegrations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegrations(ResourceIntegrations).- Parameters:
integrations- a consumer that will call methods onResourceIntegrations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
integrations(ResourceIntegrations)
-
-