@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreatePreauthenticatedRequestDetails extends Object
Note: Objects should always be created or deserialized using the CreatePreauthenticatedRequestDetails.Builder
. This model distinguishes fields that are null
because they are unset from fields that are explicitly set to null
. This is done in the setter methods of the CreatePreauthenticatedRequestDetails.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreatePreauthenticatedRequestDetails.AccessType
The operation that can be performed on this resource.
|
static class |
CreatePreauthenticatedRequestDetails.Builder |
Constructor and Description |
---|
CreatePreauthenticatedRequestDetails(String name,
String objectName,
CreatePreauthenticatedRequestDetails.AccessType accessType,
Date timeExpires)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreatePreauthenticatedRequestDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
CreatePreauthenticatedRequestDetails.AccessType |
getAccessType()
The operation that can be performed on this resource.
|
String |
getName()
A user-specified name for the pre-authenticated request.
|
String |
getObjectName()
The name of the object that is being granted access to by the pre-authenticated request.
|
Date |
getTimeExpires()
The expiration date for the pre-authenticated request as per RFC 3339.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"name","objectName","accessType","timeExpires"}) @Deprecated public CreatePreauthenticatedRequestDetails(String name, String objectName, CreatePreauthenticatedRequestDetails.AccessType accessType, Date timeExpires)
public static CreatePreauthenticatedRequestDetails.Builder builder()
Create a new builder.
public String getName()
A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests.
public String getObjectName()
The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket.
public CreatePreauthenticatedRequestDetails.AccessType getAccessType()
The operation that can be performed on this resource.
public Date getTimeExpires()
The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.
Copyright © 2016–2019. All rights reserved.