public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder |
arn(String arn)
The Amazon Resoure Name
(ARN) of the resource.
|
Resource.Builder |
creationTime(Instant creationTime)
The date and time when the resource was associated with the resource share.
|
Resource.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The date an time when the association was last updated.
|
Resource.Builder |
resourceGroupArn(String resourceGroupArn)
The Amazon Resoure Name
(ARN) of the resource group.
|
Resource.Builder |
resourceRegionScope(ResourceRegionScope resourceRegionScope)
Specifies the scope of visibility of this resource:
|
Resource.Builder |
resourceRegionScope(String resourceRegionScope)
Specifies the scope of visibility of this resource:
|
Resource.Builder |
resourceShareArn(String resourceShareArn)
The Amazon Resoure Name
(ARN) of the resource share this resource is associated with.
|
Resource.Builder |
status(ResourceStatus status)
The current status of the resource.
|
Resource.Builder |
status(String status)
The current status of the resource.
|
Resource.Builder |
statusMessage(String statusMessage)
A message about the status of the resource.
|
Resource.Builder |
type(String type)
The resource type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResource.Builder arn(String arn)
The Amazon Resoure Name (ARN) of the resource.
arn - The Amazon
Resoure Name (ARN) of the resource.Resource.Builder type(String type)
The resource type. This takes the form of: service-code:resource-code
type - The resource type. This takes the form of: service-code:resource-codeResource.Builder resourceShareArn(String resourceShareArn)
The Amazon Resoure Name (ARN) of the resource share this resource is associated with.
resourceShareArn - The Amazon
Resoure Name (ARN) of the resource share this resource is associated with.Resource.Builder resourceGroupArn(String resourceGroupArn)
The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.
resourceGroupArn - The Amazon
Resoure Name (ARN) of the resource group. This value is available only if the resource is part of
a resource group.Resource.Builder status(String status)
The current status of the resource.
status - The current status of the resource.ResourceStatus,
ResourceStatusResource.Builder status(ResourceStatus status)
The current status of the resource.
status - The current status of the resource.ResourceStatus,
ResourceStatusResource.Builder statusMessage(String statusMessage)
A message about the status of the resource.
statusMessage - A message about the status of the resource.Resource.Builder creationTime(Instant creationTime)
The date and time when the resource was associated with the resource share.
creationTime - The date and time when the resource was associated with the resource share.Resource.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date an time when the association was last updated.
lastUpdatedTime - The date an time when the association was last updated.Resource.Builder resourceRegionScope(String resourceRegionScope)
Specifies the scope of visibility of this resource:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
resourceRegionScope - Specifies the scope of visibility of this resource:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
ResourceRegionScope,
ResourceRegionScopeResource.Builder resourceRegionScope(ResourceRegionScope resourceRegionScope)
Specifies the scope of visibility of this resource:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
resourceRegionScope - Specifies the scope of visibility of this resource:
REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
GLOBAL – The resource can be accessed from any Amazon Web Services Region.
ResourceRegionScope,
ResourceRegionScopeCopyright © 2022. All rights reserved.