public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder |
arn(String arn)
The Amazon resource name (ARN) of the resource.
|
Resource.Builder |
associationTime(Instant associationTime)
The time the resource was associated with the application.
|
default Resource.Builder |
integrations(Consumer<ResourceIntegrations.Builder> integrations)
The service integration information about the resource.
|
Resource.Builder |
integrations(ResourceIntegrations integrations)
The service integration information about the resource.
|
Resource.Builder |
name(String name)
The name of the resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResource.Builder name(String name)
The name of the resource.
name - The name of the resource.Resource.Builder arn(String arn)
The Amazon resource name (ARN) of the resource.
arn - The Amazon resource name (ARN) of the resource.Resource.Builder associationTime(Instant associationTime)
The time the resource was associated with the application.
associationTime - The time the resource was associated with the application.Resource.Builder integrations(ResourceIntegrations integrations)
The service integration information about the resource.
integrations - The service integration information about the resource.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.Builder avoiding
the need to create one manually via ResourceIntegrations.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to integrations(ResourceIntegrations).
integrations - a consumer that will call methods on ResourceIntegrations.Builderintegrations(ResourceIntegrations)Copyright © 2022. All rights reserved.