Interface DeviceType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceType.Builder,DeviceType>,SdkBuilder<DeviceType.Builder,DeviceType>,SdkPojo
- Enclosing class:
- DeviceType
public static interface DeviceType.Builder extends SdkPojo, CopyableBuilder<DeviceType.Builder,DeviceType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceType.BuilderdeviceAttributes(Collection<AttributeType> deviceAttributes)Metadata about a user's device, like name and last-access source IP.DeviceType.BuilderdeviceAttributes(Consumer<AttributeType.Builder>... deviceAttributes)Metadata about a user's device, like name and last-access source IP.DeviceType.BuilderdeviceAttributes(AttributeType... deviceAttributes)Metadata about a user's device, like name and last-access source IP.DeviceType.BuilderdeviceCreateDate(Instant deviceCreateDate)The date and time when the item was created.DeviceType.BuilderdeviceKey(String deviceKey)The device key, for exampleus-west-2_EXAMPLE-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.DeviceType.BuilderdeviceLastAuthenticatedDate(Instant deviceLastAuthenticatedDate)The date when the user last signed in with the device.DeviceType.BuilderdeviceLastModifiedDate(Instant deviceLastModifiedDate)The date and time when the item was modified.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
deviceKey
DeviceType.Builder deviceKey(String 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
DeviceType.Builder deviceAttributes(Collection<AttributeType> 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
DeviceType.Builder deviceAttributes(AttributeType... 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
DeviceType.Builder deviceAttributes(Consumer<AttributeType.Builder>... 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 to#deviceAttributes(List.) - 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:
#deviceAttributes(java.util.Collection)
-
deviceCreateDate
DeviceType.Builder deviceCreateDate(Instant 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
DeviceType.Builder deviceLastModifiedDate(Instant 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
DeviceType.Builder deviceLastAuthenticatedDate(Instant 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.
-
-