@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePortalRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePortalRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePortalRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePortalRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePortalRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getPortalContactEmail()
The AWS administrator's contact email address.
|
String |
getPortalDescription()
A description for the portal.
|
ImageFile |
getPortalLogoImageFile()
A logo image to display in the portal.
|
String |
getPortalName()
A friendly name for the portal.
|
String |
getRoleArn()
The ARN of a service
role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the portal.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setPortalContactEmail(String portalContactEmail)
The AWS administrator's contact email address.
|
void |
setPortalDescription(String portalDescription)
A description for the portal.
|
void |
setPortalLogoImageFile(ImageFile portalLogoImageFile)
A logo image to display in the portal.
|
void |
setPortalName(String portalName)
A friendly name for the portal.
|
void |
setRoleArn(String roleArn)
The ARN of a service
role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the portal.
|
String |
toString()
Returns a string representation of this object.
|
CreatePortalRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
CreatePortalRequest |
withPortalContactEmail(String portalContactEmail)
The AWS administrator's contact email address.
|
CreatePortalRequest |
withPortalDescription(String portalDescription)
A description for the portal.
|
CreatePortalRequest |
withPortalLogoImageFile(ImageFile portalLogoImageFile)
A logo image to display in the portal.
|
CreatePortalRequest |
withPortalName(String portalName)
A friendly name for the portal.
|
CreatePortalRequest |
withRoleArn(String roleArn)
The ARN of a service
role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.
|
CreatePortalRequest |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the portal.
|
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 setPortalName(String portalName)
A friendly name for the portal.
portalName
- A friendly name for the portal.public String getPortalName()
A friendly name for the portal.
public CreatePortalRequest withPortalName(String portalName)
A friendly name for the portal.
portalName
- A friendly name for the portal.public void setPortalDescription(String portalDescription)
A description for the portal.
portalDescription
- A description for the portal.public String getPortalDescription()
A description for the portal.
public CreatePortalRequest withPortalDescription(String portalDescription)
A description for the portal.
portalDescription
- A description for the portal.public void setPortalContactEmail(String portalContactEmail)
The AWS administrator's contact email address.
portalContactEmail
- The AWS administrator's contact email address.public String getPortalContactEmail()
The AWS administrator's contact email address.
public CreatePortalRequest withPortalContactEmail(String portalContactEmail)
The AWS administrator's contact email address.
portalContactEmail
- The AWS administrator's contact email address.public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public CreatePortalRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
reuse this client token if a new idempotent request is required.public void setPortalLogoImageFile(ImageFile portalLogoImageFile)
A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
portalLogoImageFile
- A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a
dark background.public ImageFile getPortalLogoImageFile()
A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
public CreatePortalRequest withPortalLogoImageFile(ImageFile portalLogoImageFile)
A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.
portalLogoImageFile
- A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a
dark background.public void setRoleArn(String roleArn)
The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For more information, see Using service roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide.
roleArn
- The ARN of a
service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For
more information, see Using service
roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide.public String getRoleArn()
The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For more information, see Using service roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide.
public CreatePortalRequest withRoleArn(String roleArn)
The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For more information, see Using service roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide.
roleArn
- The ARN of a
service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For
more information, see Using service
roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide.public Map<String,String> getTags()
A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your AWS IoT
SiteWise resources in the AWS IoT SiteWise User Guide.public CreatePortalRequest withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your AWS IoT
SiteWise resources in the AWS IoT SiteWise User Guide.public CreatePortalRequest addTagsEntry(String key, String value)
public CreatePortalRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePortalRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()