public class AddThingToBillingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Adds a thing to a billing group.
| Constructor and Description |
|---|
AddThingToBillingGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBillingGroupArn()
The ARN of the billing group.
|
java.lang.String |
getBillingGroupName()
The name of the billing group.
|
java.lang.String |
getThingArn()
The ARN of the thing to be added to the billing group.
|
java.lang.String |
getThingName()
The name of the thing to be added to the billing group.
|
int |
hashCode() |
void |
setBillingGroupArn(java.lang.String billingGroupArn)
The ARN of the billing group.
|
void |
setBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
|
void |
setThingArn(java.lang.String thingArn)
The ARN of the thing to be added to the billing group.
|
void |
setThingName(java.lang.String thingName)
The name of the thing to be added to the billing group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddThingToBillingGroupRequest |
withBillingGroupArn(java.lang.String billingGroupArn)
The ARN of the billing group.
|
AddThingToBillingGroupRequest |
withBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
|
AddThingToBillingGroupRequest |
withThingArn(java.lang.String thingArn)
The ARN of the thing to be added to the billing group.
|
AddThingToBillingGroupRequest |
withThingName(java.lang.String thingName)
The name of the thing to be added to the billing group.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getBillingGroupName()
The name of the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the billing group.
public void setBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
billingGroupName - The name of the billing group.
public AddThingToBillingGroupRequest withBillingGroupName(java.lang.String billingGroupName)
The name of the billing group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
billingGroupName - The name of the billing group.
public java.lang.String getBillingGroupArn()
The ARN of the billing group.
The ARN of the billing group.
public void setBillingGroupArn(java.lang.String billingGroupArn)
The ARN of the billing group.
billingGroupArn - The ARN of the billing group.
public AddThingToBillingGroupRequest withBillingGroupArn(java.lang.String billingGroupArn)
The ARN of the billing group.
Returns a reference to this object so that method calls can be chained together.
billingGroupArn - The ARN of the billing group.
public java.lang.String getThingName()
The name of the thing to be added to the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing to be added to the billing group.
public void setThingName(java.lang.String thingName)
The name of the thing to be added to the billing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The name of the thing to be added to the billing group.
public AddThingToBillingGroupRequest withThingName(java.lang.String thingName)
The name of the thing to be added to the billing group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The name of the thing to be added to the billing group.
public java.lang.String getThingArn()
The ARN of the thing to be added to the billing group.
The ARN of the thing to be added to the billing group.
public void setThingArn(java.lang.String thingArn)
The ARN of the thing to be added to the billing group.
thingArn - The ARN of the thing to be added to the billing group.
public AddThingToBillingGroupRequest withThingArn(java.lang.String thingArn)
The ARN of the thing to be added to the billing group.
Returns a reference to this object so that method calls can be chained together.
thingArn - The ARN of the thing to be added to the billing group.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.