Interface DescribeInstancePatchesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstancePatchesResponse.Builder,DescribeInstancePatchesResponse>
,SdkBuilder<DescribeInstancePatchesResponse.Builder,DescribeInstancePatchesResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- DescribeInstancePatchesResponse
public static interface DescribeInstancePatchesResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancePatchesResponse.Builder,DescribeInstancePatchesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstancePatchesResponse.Builder
nextToken(String nextToken)
The token to use when requesting the next set of items.DescribeInstancePatchesResponse.Builder
patches(Collection<PatchComplianceData> patches)
Each entry in the array is a structure containing:DescribeInstancePatchesResponse.Builder
patches(Consumer<PatchComplianceData.Builder>... patches)
Each entry in the array is a structure containing:DescribeInstancePatchesResponse.Builder
patches(PatchComplianceData... patches)
Each entry in the array is a structure containing:-
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
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
patches
DescribeInstancePatchesResponse.Builder patches(Collection<PatchComplianceData> patches)
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
- Parameters:
patches
- Each entry in the array is a structure containing:-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
patches
DescribeInstancePatchesResponse.Builder patches(PatchComplianceData... patches)
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
- Parameters:
patches
- Each entry in the array is a structure containing:-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
patches
DescribeInstancePatchesResponse.Builder patches(Consumer<PatchComplianceData.Builder>... patches)
Each entry in the array is a structure containing:
-
Title (string)
-
KBId (string)
-
Classification (string)
-
Severity (string)
-
State (string, such as "INSTALLED" or "FAILED")
-
InstalledTime (DateTime)
-
InstalledBy (string)
PatchComplianceData.Builder
avoiding the need to create one manually viaPatchComplianceData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#patches(List
.) - Parameters:
patches
- a consumer that will call methods onPatchComplianceData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#patches(java.util.Collection
)
-
-
nextToken
DescribeInstancePatchesResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-