Interface CreatePortalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePortalResponse.Builder,
,CreatePortalResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<CreatePortalResponse.Builder,
,CreatePortalResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePortalResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the portal, which has the following format.The ID of the created portal.portalStartUrl
(String portalStartUrl) The URL for the IoT SiteWise Monitor portal.default CreatePortalResponse.Builder
portalStatus
(Consumer<PortalStatus.Builder> portalStatus) The status of the portal, which contains a state (CREATING
after successfully calling this operation) and any error message.portalStatus
(PortalStatus portalStatus) The status of the portal, which contains a state (CREATING
after successfully calling this operation) and any error message.ssoApplicationId
(String ssoApplicationId) The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
portalId
The ID of the created portal.
- Parameters:
portalId
- The ID of the created portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalArn
The ARN of the portal, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
- Parameters:
portalArn
- The ARN of the portal, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalStartUrl
The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
- Parameters:
portalStartUrl
- The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalStatus
The status of the portal, which contains a state (
CREATING
after successfully calling this operation) and any error message.- Parameters:
portalStatus
- The status of the portal, which contains a state (CREATING
after successfully calling this operation) and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalStatus
The status of the portal, which contains a state (
This is a convenience method that creates an instance of theCREATING
after successfully calling this operation) and any error message.PortalStatus.Builder
avoiding the need to create one manually viaPortalStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportalStatus(PortalStatus)
.- Parameters:
portalStatus
- a consumer that will call methods onPortalStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ssoApplicationId
The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.
- Parameters:
ssoApplicationId
- The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-