Interface DeviceType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceType.Builder,,DeviceType> SdkBuilder<DeviceType.Builder,,DeviceType> SdkPojo
- Enclosing class:
- DeviceType
-
Method Summary
Modifier and TypeMethodDescriptiondeviceAttributes(Collection<AttributeType> deviceAttributes) Metadata about a user's device, like name and last-access source IP.deviceAttributes(Consumer<AttributeType.Builder>... deviceAttributes) Metadata about a user's device, like name and last-access source IP.deviceAttributes(AttributeType... deviceAttributes) Metadata about a user's device, like name and last-access source IP.deviceCreateDate(Instant deviceCreateDate) The date and time when the item was created.The device key, for exampleus-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.deviceLastAuthenticatedDate(Instant deviceLastAuthenticatedDate) The date when the user last signed in with the device.deviceLastModifiedDate(Instant deviceLastModifiedDate) The date and time when the item was modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deviceKey
The device key, for example
us-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.- Parameters:
deviceKey- The device key, for exampleus-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceAttributes
Metadata about a user's device, like name and last-access source IP.
- Parameters:
deviceAttributes- Metadata about a user's device, like name and last-access source IP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceAttributes
Metadata about a user's device, like name and last-access source IP.
- Parameters:
deviceAttributes- Metadata about a user's device, like name and last-access source IP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceAttributes
Metadata about a user's device, like name and last-access source IP.
This is a convenience method that creates an instance of theAttributeType.Builderavoiding the need to create one manually viaAttributeType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeviceAttributes(List<AttributeType>).- Parameters:
deviceAttributes- a consumer that will call methods onAttributeType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceCreateDate
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
deviceCreateDate- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceLastModifiedDate
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
deviceLastModifiedDate- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceLastAuthenticatedDate
The date when the user last signed in with the device.
- Parameters:
deviceLastAuthenticatedDate- The date when the user last signed in with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-