@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 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 Amazon Web Services 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 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 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 Amazon Web Services 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 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 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 Amazon Web Services 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 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 Amazon Web Services administrator's contact email address.
portalContactEmail
- The Amazon Web Services administrator's contact email address.public String getPortalContactEmail()
The Amazon Web Services administrator's contact email address.
public CreatePortalRequest withPortalContactEmail(String portalContactEmail)
The Amazon Web Services administrator's contact email address.
portalContactEmail
- The Amazon Web Services 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 IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
roleArn
- The ARN of a
service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more
information, see Using service
roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.public String getRoleArn()
The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
public CreatePortalRequest withRoleArn(String roleArn)
The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
roleArn
- The ARN of a
service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more
information, see Using service
roles for IoT SiteWise Monitor in the 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 IoT SiteWise resources in the 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 IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT
SiteWise resources in the 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 IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT
SiteWise resources in the 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 IAM Identity Center to authenticate users and manage user permissions. Before
you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information,
see Enabling IAM
Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services
Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions.
Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For
more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in
Amazon Web Services Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions. Before
you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information,
see Enabling IAM
Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services
Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
You can't change this value after you create a portal.
Default: SSO
SSO
– The portal uses IAM Identity Center to authenticate users and manage user permissions.
Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For
more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in
Amazon Web Services Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions. Before
you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information,
see Enabling IAM
Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services
Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions.
Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For
more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in
Amazon Web Services Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions. Before
you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information,
see Enabling IAM
Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services
Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IAM Identity Center to authenticate users and manage user permissions.
Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For
more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in
Amazon Web Services Regions other than the China Regions.
IAM
– The portal uses Identity and Access Management to authenticate users and manage user
permissions.
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 IoT Events managed 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 IoT Events managed 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 IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.
If you use the IoT Events managed 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 IoT Events managed 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 IoT Events managed 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 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 Monitoring with alarms in the IoT SiteWise Application Guide.
alarms
- Contains the configuration information of an alarm created in an 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 Monitoring with
alarms in the IoT SiteWise Application Guide.public Alarms getAlarms()
Contains the configuration information of an alarm created in an 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 Monitoring with alarms in the IoT SiteWise Application Guide.
public CreatePortalRequest withAlarms(Alarms alarms)
Contains the configuration information of an alarm created in an 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 Monitoring with alarms in the IoT SiteWise Application Guide.
alarms
- Contains the configuration information of an alarm created in an 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 Monitoring with
alarms in the IoT SiteWise Application Guide.public String toString()
toString
in class Object
Object.toString()
public CreatePortalRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()