@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterResourceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource that you want to register.
|
String |
getRoleArn()
The identifier for the role that registers the resource.
|
Boolean |
getUseServiceLinkedRole()
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data
Catalog.
|
int |
hashCode() |
Boolean |
isUseServiceLinkedRole()
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data
Catalog.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to register.
|
void |
setRoleArn(String roleArn)
The identifier for the role that registers the resource.
|
void |
setUseServiceLinkedRole(Boolean useServiceLinkedRole)
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data
Catalog.
|
String |
toString()
Returns a string representation of this object.
|
RegisterResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to register.
|
RegisterResourceRequest |
withRoleArn(String roleArn)
The identifier for the role that registers the resource.
|
RegisterResourceRequest |
withUseServiceLinkedRole(Boolean useServiceLinkedRole)
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data
Catalog.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to register.
resourceArn
- The Amazon Resource Name (ARN) of the resource that you want to register.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource that you want to register.
public RegisterResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to register.
resourceArn
- The Amazon Resource Name (ARN) of the resource that you want to register.public void setUseServiceLinkedRole(Boolean useServiceLinkedRole)
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
useServiceLinkedRole
- Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with
the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake
Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
public Boolean getUseServiceLinkedRole()
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
public RegisterResourceRequest withUseServiceLinkedRole(Boolean useServiceLinkedRole)
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
useServiceLinkedRole
- Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with
the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake
Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
public Boolean isUseServiceLinkedRole()
Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
For more information, see Using Service-Linked Roles for Lake Formation.
public void setRoleArn(String roleArn)
The identifier for the role that registers the resource.
roleArn
- The identifier for the role that registers the resource.public String getRoleArn()
The identifier for the role that registers the resource.
public RegisterResourceRequest withRoleArn(String roleArn)
The identifier for the role that registers the resource.
roleArn
- The identifier for the role that registers the resource.public String toString()
toString
in class Object
Object.toString()
public RegisterResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()