@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBusinessName()
Specifies the name for the business associated with this profile.
|
String |
getClientToken()
Reserved for future use.
|
String |
getEmail()
Specifies the email address associated with this customer profile.
|
String |
getLogging()
Specifies whether or not logging is enabled for this profile.
|
String |
getName()
Specifies the name of the profile.
|
String |
getPhone()
Specifies the phone number associated with the profile.
|
List<Tag> |
getTags()
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
int |
hashCode() |
void |
setBusinessName(String businessName)
Specifies the name for the business associated with this profile.
|
void |
setClientToken(String clientToken)
Reserved for future use.
|
void |
setEmail(String email)
Specifies the email address associated with this customer profile.
|
void |
setLogging(String logging)
Specifies whether or not logging is enabled for this profile.
|
void |
setName(String name)
Specifies the name of the profile.
|
void |
setPhone(String phone)
Specifies the phone number associated with the profile.
|
void |
setTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
String |
toString()
Returns a string representation of this object.
|
CreateProfileRequest |
withBusinessName(String businessName)
Specifies the name for the business associated with this profile.
|
CreateProfileRequest |
withClientToken(String clientToken)
Reserved for future use.
|
CreateProfileRequest |
withEmail(String email)
Specifies the email address associated with this customer profile.
|
CreateProfileRequest |
withLogging(Logging logging)
Specifies whether or not logging is enabled for this profile.
|
CreateProfileRequest |
withLogging(String logging)
Specifies whether or not logging is enabled for this profile.
|
CreateProfileRequest |
withName(String name)
Specifies the name of the profile.
|
CreateProfileRequest |
withPhone(String phone)
Specifies the phone number associated with the profile.
|
CreateProfileRequest |
withTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
CreateProfileRequest |
withTags(Tag... tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
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 setName(String name)
Specifies the name of the profile.
name
- Specifies the name of the profile.public String getName()
Specifies the name of the profile.
public CreateProfileRequest withName(String name)
Specifies the name of the profile.
name
- Specifies the name of the profile.public void setEmail(String email)
Specifies the email address associated with this customer profile.
email
- Specifies the email address associated with this customer profile.public String getEmail()
Specifies the email address associated with this customer profile.
public CreateProfileRequest withEmail(String email)
Specifies the email address associated with this customer profile.
email
- Specifies the email address associated with this customer profile.public void setPhone(String phone)
Specifies the phone number associated with the profile.
phone
- Specifies the phone number associated with the profile.public String getPhone()
Specifies the phone number associated with the profile.
public CreateProfileRequest withPhone(String phone)
Specifies the phone number associated with the profile.
phone
- Specifies the phone number associated with the profile.public void setBusinessName(String businessName)
Specifies the name for the business associated with this profile.
businessName
- Specifies the name for the business associated with this profile.public String getBusinessName()
Specifies the name for the business associated with this profile.
public CreateProfileRequest withBusinessName(String businessName)
Specifies the name for the business associated with this profile.
businessName
- Specifies the name for the business associated with this profile.public void setLogging(String logging)
Specifies whether or not logging is enabled for this profile.
logging
- Specifies whether or not logging is enabled for this profile.Logging
public String getLogging()
Specifies whether or not logging is enabled for this profile.
Logging
public CreateProfileRequest withLogging(String logging)
Specifies whether or not logging is enabled for this profile.
logging
- Specifies whether or not logging is enabled for this profile.Logging
public CreateProfileRequest withLogging(Logging logging)
Specifies whether or not logging is enabled for this profile.
logging
- Specifies whether or not logging is enabled for this profile.Logging
public void setClientToken(String clientToken)
Reserved for future use.
clientToken
- Reserved for future use.public String getClientToken()
Reserved for future use.
public CreateProfileRequest withClientToken(String clientToken)
Reserved for future use.
clientToken
- Reserved for future use.public List<Tag> getTags()
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
public void setTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
tags
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public CreateProfileRequest withTags(Tag... tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public CreateProfileRequest withTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
tags
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public String toString()
toString
in class Object
Object.toString()
public CreateProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()