@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEntitlementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateEntitlementRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateEntitlementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppVisibility()
Specifies whether all or only selected apps are entitled.
|
List<EntitlementAttribute> |
getAttributes()
The attributes of the entitlement.
|
String |
getDescription()
The description of the entitlement.
|
String |
getName()
The name of the entitlement.
|
String |
getStackName()
The name of the stack with which the entitlement is associated.
|
int |
hashCode() |
void |
setAppVisibility(String appVisibility)
Specifies whether all or only selected apps are entitled.
|
void |
setAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
|
void |
setDescription(String description)
The description of the entitlement.
|
void |
setName(String name)
The name of the entitlement.
|
void |
setStackName(String stackName)
The name of the stack with which the entitlement is associated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEntitlementRequest |
withAppVisibility(AppVisibility appVisibility)
Specifies whether all or only selected apps are entitled.
|
UpdateEntitlementRequest |
withAppVisibility(String appVisibility)
Specifies whether all or only selected apps are entitled.
|
UpdateEntitlementRequest |
withAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
|
UpdateEntitlementRequest |
withAttributes(EntitlementAttribute... attributes)
The attributes of the entitlement.
|
UpdateEntitlementRequest |
withDescription(String description)
The description of the entitlement.
|
UpdateEntitlementRequest |
withName(String name)
The name of the entitlement.
|
UpdateEntitlementRequest |
withStackName(String stackName)
The name of the stack with which the entitlement is associated.
|
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, withSdkRequestTimeoutpublic void setName(String name)
The name of the entitlement.
name - The name of the entitlement.public String getName()
The name of the entitlement.
public UpdateEntitlementRequest withName(String name)
The name of the entitlement.
name - The name of the entitlement.public void setStackName(String stackName)
The name of the stack with which the entitlement is associated.
stackName - The name of the stack with which the entitlement is associated.public String getStackName()
The name of the stack with which the entitlement is associated.
public UpdateEntitlementRequest withStackName(String stackName)
The name of the stack with which the entitlement is associated.
stackName - The name of the stack with which the entitlement is associated.public void setDescription(String description)
The description of the entitlement.
description - The description of the entitlement.public String getDescription()
The description of the entitlement.
public UpdateEntitlementRequest withDescription(String description)
The description of the entitlement.
description - The description of the entitlement.public void setAppVisibility(String appVisibility)
Specifies whether all or only selected apps are entitled.
appVisibility - Specifies whether all or only selected apps are entitled.AppVisibilitypublic String getAppVisibility()
Specifies whether all or only selected apps are entitled.
AppVisibilitypublic UpdateEntitlementRequest withAppVisibility(String appVisibility)
Specifies whether all or only selected apps are entitled.
appVisibility - Specifies whether all or only selected apps are entitled.AppVisibilitypublic UpdateEntitlementRequest withAppVisibility(AppVisibility appVisibility)
Specifies whether all or only selected apps are entitled.
appVisibility - Specifies whether all or only selected apps are entitled.AppVisibilitypublic List<EntitlementAttribute> getAttributes()
The attributes of the entitlement.
public void setAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
attributes - The attributes of the entitlement.public UpdateEntitlementRequest withAttributes(EntitlementAttribute... attributes)
The attributes of the entitlement.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
override the existing values.
attributes - The attributes of the entitlement.public UpdateEntitlementRequest withAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
attributes - The attributes of the entitlement.public String toString()
toString in class ObjectObject.toString()public UpdateEntitlementRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()