@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLicenseSpecificationsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLicenseSpecificationsForResourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLicenseSpecificationsForResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<LicenseSpecification> |
getAddLicenseSpecifications()
ARNs of the license configurations to add.
|
List<LicenseSpecification> |
getRemoveLicenseSpecifications()
ARNs of the license configurations to remove.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the Amazon Web Services resource.
|
int |
hashCode() |
void |
setAddLicenseSpecifications(Collection<LicenseSpecification> addLicenseSpecifications)
ARNs of the license configurations to add.
|
void |
setRemoveLicenseSpecifications(Collection<LicenseSpecification> removeLicenseSpecifications)
ARNs of the license configurations to remove.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the Amazon Web Services resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLicenseSpecificationsForResourceRequest |
withAddLicenseSpecifications(Collection<LicenseSpecification> addLicenseSpecifications)
ARNs of the license configurations to add.
|
UpdateLicenseSpecificationsForResourceRequest |
withAddLicenseSpecifications(LicenseSpecification... addLicenseSpecifications)
ARNs of the license configurations to add.
|
UpdateLicenseSpecificationsForResourceRequest |
withRemoveLicenseSpecifications(Collection<LicenseSpecification> removeLicenseSpecifications)
ARNs of the license configurations to remove.
|
UpdateLicenseSpecificationsForResourceRequest |
withRemoveLicenseSpecifications(LicenseSpecification... removeLicenseSpecifications)
ARNs of the license configurations to remove.
|
UpdateLicenseSpecificationsForResourceRequest |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the Amazon Web Services resource.
|
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 UpdateLicenseSpecificationsForResourceRequest()
public void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the Amazon Web Services resource.
resourceArn
- Amazon Resource Name (ARN) of the Amazon Web Services resource.public String getResourceArn()
Amazon Resource Name (ARN) of the Amazon Web Services resource.
public UpdateLicenseSpecificationsForResourceRequest withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the Amazon Web Services resource.
resourceArn
- Amazon Resource Name (ARN) of the Amazon Web Services resource.public List<LicenseSpecification> getAddLicenseSpecifications()
ARNs of the license configurations to add.
public void setAddLicenseSpecifications(Collection<LicenseSpecification> addLicenseSpecifications)
ARNs of the license configurations to add.
addLicenseSpecifications
- ARNs of the license configurations to add.public UpdateLicenseSpecificationsForResourceRequest withAddLicenseSpecifications(LicenseSpecification... addLicenseSpecifications)
ARNs of the license configurations to add.
NOTE: This method appends the values to the existing list (if any). Use
setAddLicenseSpecifications(java.util.Collection)
or
withAddLicenseSpecifications(java.util.Collection)
if you want to override the existing values.
addLicenseSpecifications
- ARNs of the license configurations to add.public UpdateLicenseSpecificationsForResourceRequest withAddLicenseSpecifications(Collection<LicenseSpecification> addLicenseSpecifications)
ARNs of the license configurations to add.
addLicenseSpecifications
- ARNs of the license configurations to add.public List<LicenseSpecification> getRemoveLicenseSpecifications()
ARNs of the license configurations to remove.
public void setRemoveLicenseSpecifications(Collection<LicenseSpecification> removeLicenseSpecifications)
ARNs of the license configurations to remove.
removeLicenseSpecifications
- ARNs of the license configurations to remove.public UpdateLicenseSpecificationsForResourceRequest withRemoveLicenseSpecifications(LicenseSpecification... removeLicenseSpecifications)
ARNs of the license configurations to remove.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveLicenseSpecifications(java.util.Collection)
or
withRemoveLicenseSpecifications(java.util.Collection)
if you want to override the existing values.
removeLicenseSpecifications
- ARNs of the license configurations to remove.public UpdateLicenseSpecificationsForResourceRequest withRemoveLicenseSpecifications(Collection<LicenseSpecification> removeLicenseSpecifications)
ARNs of the license configurations to remove.
removeLicenseSpecifications
- ARNs of the license configurations to remove.public String toString()
toString
in class Object
Object.toString()
public UpdateLicenseSpecificationsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()