Interface GetLayoutResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<GetLayoutResponse.Builder,GetLayoutResponse>,SdkBuilder<GetLayoutResponse.Builder,GetLayoutResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLayoutResponse
public static interface GetLayoutResponse.Builder extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<GetLayoutResponse.Builder,GetLayoutResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetLayoutResponse.Buildercontent(Consumer<LayoutContent.Builder> content)Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.GetLayoutResponse.Buildercontent(LayoutContent content)Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.GetLayoutResponse.BuildercreatedTime(Instant createdTime)Timestamp at which the resource was created.GetLayoutResponse.Builderdeleted(Boolean deleted)Denotes whether or not the resource has been deleted.GetLayoutResponse.BuilderlastModifiedTime(Instant lastModifiedTime)Timestamp at which the resource was created or last modified.GetLayoutResponse.BuilderlayoutArn(String layoutArn)The Amazon Resource Name (ARN) of the newly created layout.GetLayoutResponse.BuilderlayoutId(String layoutId)The unique identifier of the layout.GetLayoutResponse.Buildername(String name)The name of the layout.GetLayoutResponse.Buildertags(Map<String,String> tags)A map of of key-value pairs that represent tags on a resource.-
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
content
GetLayoutResponse.Builder content(LayoutContent content)
Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
- Parameters:
content- Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default GetLayoutResponse.Builder content(Consumer<LayoutContent.Builder> content)
Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
This is a convenience method that creates an instance of theLayoutContent.Builderavoiding the need to create one manually viaLayoutContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(LayoutContent).- Parameters:
content- a consumer that will call methods onLayoutContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(LayoutContent)
-
createdTime
GetLayoutResponse.Builder createdTime(Instant createdTime)
Timestamp at which the resource was created.
- Parameters:
createdTime- Timestamp at which the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
GetLayoutResponse.Builder deleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
- Parameters:
deleted- Denotes whether or not the resource has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
GetLayoutResponse.Builder lastModifiedTime(Instant lastModifiedTime)
Timestamp at which the resource was created or last modified.
- Parameters:
lastModifiedTime- Timestamp at which the resource was created or last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutArn
GetLayoutResponse.Builder layoutArn(String layoutArn)
The Amazon Resource Name (ARN) of the newly created layout.
- Parameters:
layoutArn- The Amazon Resource Name (ARN) of the newly created layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutId
GetLayoutResponse.Builder layoutId(String layoutId)
The unique identifier of the layout.
- Parameters:
layoutId- The unique identifier of the layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetLayoutResponse.Builder name(String name)
The name of the layout. It must be unique.
- Parameters:
name- The name of the layout. It must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
GetLayoutResponse.Builder tags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
- Parameters:
tags- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-