@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) |
Alarms |
getAlarms()
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
|
String |
getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
String |
getNotificationSenderEmail()
The email address that sends alarm notifications.
|
String |
getPortalAuthMode()
The service to use to authenticate users to the portal.
|
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 |
setAlarms(Alarms alarms)
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
|
void |
setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
void |
setNotificationSenderEmail(String notificationSenderEmail)
The email address that sends alarm notifications.
|
void |
setPortalAuthMode(String portalAuthMode)
The service to use to authenticate users to the portal.
|
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 |
withAlarms(Alarms alarms)
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
|
CreatePortalRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
CreatePortalRequest |
withNotificationSenderEmail(String notificationSenderEmail)
The email address that sends alarm notifications.
|
CreatePortalRequest |
withPortalAuthMode(AuthMode portalAuthMode)
The service to use to authenticate users to the portal.
|
CreatePortalRequest |
withPortalAuthMode(String portalAuthMode)
The service to use to authenticate users to the portal.
|
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 void setPortalAuthMode(String portalAuthMode)
The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions. Before
you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling AWS
SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other than the
China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and manage user
permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
portalAuthMode
- The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions.
Before you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling
AWS SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other
than the China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and
manage user permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
AuthMode
public String getPortalAuthMode()
The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions. Before
you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling AWS
SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other than the
China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and manage user
permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions.
Before you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see
Enabling AWS SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS
Regions other than the China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and
manage user permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
AuthMode
public CreatePortalRequest withPortalAuthMode(String portalAuthMode)
The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions. Before
you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling AWS
SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other than the
China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and manage user
permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
portalAuthMode
- The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions.
Before you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling
AWS SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other
than the China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and
manage user permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
AuthMode
public CreatePortalRequest withPortalAuthMode(AuthMode portalAuthMode)
The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions. Before
you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling AWS
SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other than the
China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and manage user
permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
portalAuthMode
- The service to use to authenticate users to the portal. Choose from the following options:
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions.
Before you can create a portal that uses AWS SSO, you must enable AWS SSO. For more information, see Enabling
AWS SSO in the AWS IoT SiteWise User Guide. This option is only available in AWS Regions other
than the China Regions.
IAM
– The portal uses AWS Identity and Access Management (IAM) to authenticate users and
manage user permissions. This option is only available in the China Regions.
You can't change this value after you create a portal.
Default: SSO
AuthMode
public void setNotificationSenderEmail(String notificationSenderEmail)
The email address that sends alarm notifications.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
notificationSenderEmail
- The email address that sends alarm notifications. If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
public String getNotificationSenderEmail()
The email address that sends alarm notifications.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
public CreatePortalRequest withNotificationSenderEmail(String notificationSenderEmail)
The email address that sends alarm notifications.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
notificationSenderEmail
- The email address that sends alarm notifications. If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
public void setAlarms(Alarms alarms)
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see .
alarms
- Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can
use the alarm to monitor an asset property and get notified when the asset property value is outside a
specified range. For more information, see .public Alarms getAlarms()
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see .
public CreatePortalRequest withAlarms(Alarms alarms)
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see .
alarms
- Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can
use the alarm to monitor an asset property and get notified when the asset property value is outside a
specified range. For more information, see .public String toString()
toString
in class Object
Object.toString()
public CreatePortalRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()