@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceNetworkRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceNetworkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthType()
The type of IAM policy.
|
String |
getServiceNetworkIdentifier()
The ID or Amazon Resource Name (ARN) of the service network.
|
int |
hashCode() |
void |
setAuthType(String authType)
The type of IAM policy.
|
void |
setServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceNetworkRequest |
withAuthType(AuthType authType)
The type of IAM policy.
|
UpdateServiceNetworkRequest |
withAuthType(String authType)
The type of IAM policy.
|
UpdateServiceNetworkRequest |
withServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
|
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 setAuthType(String authType)
The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType
- The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthType
public String getAuthType()
The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an
auth policy is required.
AuthType
public UpdateServiceNetworkRequest withAuthType(String authType)
The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType
- The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthType
public UpdateServiceNetworkRequest withAuthType(AuthType authType)
The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType
- The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthType
public void setServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
serviceNetworkIdentifier
- The ID or Amazon Resource Name (ARN) of the service network.public String getServiceNetworkIdentifier()
The ID or Amazon Resource Name (ARN) of the service network.
public UpdateServiceNetworkRequest withServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
serviceNetworkIdentifier
- The ID or Amazon Resource Name (ARN) of the service network.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceNetworkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()