@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateLicenseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateLicenseRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateLicenseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLicenseType()
The type of license to associate with the workspace.
|
String |
getWorkspaceId()
The ID of the workspace to associate the license with.
|
int |
hashCode() |
void |
setLicenseType(String licenseType)
The type of license to associate with the workspace.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace to associate the license with.
|
String |
toString()
Returns a string representation of this object.
|
AssociateLicenseRequest |
withLicenseType(LicenseType licenseType)
The type of license to associate with the workspace.
|
AssociateLicenseRequest |
withLicenseType(String licenseType)
The type of license to associate with the workspace.
|
AssociateLicenseRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace to associate the license with.
|
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 setLicenseType(String licenseType)
The type of license to associate with the workspace.
licenseType
- The type of license to associate with the workspace.LicenseType
public String getLicenseType()
The type of license to associate with the workspace.
LicenseType
public AssociateLicenseRequest withLicenseType(String licenseType)
The type of license to associate with the workspace.
licenseType
- The type of license to associate with the workspace.LicenseType
public AssociateLicenseRequest withLicenseType(LicenseType licenseType)
The type of license to associate with the workspace.
licenseType
- The type of license to associate with the workspace.LicenseType
public void setWorkspaceId(String workspaceId)
The ID of the workspace to associate the license with.
workspaceId
- The ID of the workspace to associate the license with.public String getWorkspaceId()
The ID of the workspace to associate the license with.
public AssociateLicenseRequest withWorkspaceId(String workspaceId)
The ID of the workspace to associate the license with.
workspaceId
- The ID of the workspace to associate the license with.public String toString()
toString
in class Object
Object.toString()
public AssociateLicenseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()