@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEntitlementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateEntitlementRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateEntitlementRequest |
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 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 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.
|
CreateEntitlementRequest |
withAppVisibility(AppVisibility appVisibility)
Specifies whether all or selected apps are entitled.
|
CreateEntitlementRequest |
withAppVisibility(String appVisibility)
Specifies whether all or selected apps are entitled.
|
CreateEntitlementRequest |
withAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
|
CreateEntitlementRequest |
withAttributes(EntitlementAttribute... attributes)
The attributes of the entitlement.
|
CreateEntitlementRequest |
withDescription(String description)
The description of the entitlement.
|
CreateEntitlementRequest |
withName(String name)
The name of the entitlement.
|
CreateEntitlementRequest |
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 CreateEntitlementRequest 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 CreateEntitlementRequest 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 CreateEntitlementRequest withDescription(String description)
The description of the entitlement.
description - The description of the entitlement.public void setAppVisibility(String appVisibility)
Specifies whether all or selected apps are entitled.
appVisibility - Specifies whether all or selected apps are entitled.AppVisibilitypublic String getAppVisibility()
Specifies whether all or selected apps are entitled.
AppVisibilitypublic CreateEntitlementRequest withAppVisibility(String appVisibility)
Specifies whether all or selected apps are entitled.
appVisibility - Specifies whether all or selected apps are entitled.AppVisibilitypublic CreateEntitlementRequest withAppVisibility(AppVisibility appVisibility)
Specifies whether all or selected apps are entitled.
appVisibility - Specifies whether all or 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 CreateEntitlementRequest 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 CreateEntitlementRequest withAttributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
attributes - The attributes of the entitlement.public String toString()
toString in class ObjectObject.toString()public CreateEntitlementRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()