public final class AmazonResourceName extends Object
More information on resources are available on the Amazon Webservice Manual
Modifier and Type | Class and Description |
---|---|
static class |
AmazonResourceName.Builder
Builder for Amazon resources.
|
Modifier and Type | Method and Description |
---|---|
static AmazonResourceName |
fromString(String name) |
String |
getAccount()
Returns the account to which the resource is assigned.
|
String |
getPartition()
Returns the partition name of the service (currently aws, aws-cn, aws-us-gov).
|
String |
getRegion()
Returns the region to which the particular service for this object is bound.
|
String |
getResourceName()
Return the name of the resource inside the particular type.
|
String |
getResourceType()
Return the resource type for the resource.
|
String |
getService()
Returns the service name for this particular AmazonResourceName.
|
static boolean |
isValidAmazonResourceName(String name) |
String |
toString() |
public static AmazonResourceName fromString(String name)
public static boolean isValidAmazonResourceName(String name)
public String getPartition()
public String getService()
public String getRegion()
public String getAccount()
public String getResourceType()
public String getResourceName()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.