@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportAppCatalogRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportAppCatalogRequest() |
Modifier and Type | Method and Description |
---|---|
ImportAppCatalogRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoleName()
The name of the service role.
|
int |
hashCode() |
void |
setRoleName(String roleName)
The name of the service role.
|
String |
toString()
Returns a string representation of this object.
|
ImportAppCatalogRequest |
withRoleName(String roleName)
The name of the service role.
|
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 setRoleName(String roleName)
The name of the service role. If you omit this parameter, we create a service-linked role for AWS Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the AWS Migration Hub User Guide.
roleName
- The name of the service role. If you omit this parameter, we create a service-linked role for AWS
Migration Hub in your account. Otherwise, the role that you provide must have the policy and
trust policy described in the AWS Migration Hub User Guide.public String getRoleName()
The name of the service role. If you omit this parameter, we create a service-linked role for AWS Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the AWS Migration Hub User Guide.
public ImportAppCatalogRequest withRoleName(String roleName)
The name of the service role. If you omit this parameter, we create a service-linked role for AWS Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the AWS Migration Hub User Guide.
roleName
- The name of the service role. If you omit this parameter, we create a service-linked role for AWS
Migration Hub in your account. Otherwise, the role that you provide must have the policy and
trust policy described in the AWS Migration Hub User Guide.public String toString()
toString
in class Object
Object.toString()
public ImportAppCatalogRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()