Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class ServerCertificateMetadata

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.ServerCertificateMetadata
All Implemented Interfaces:
Serializable

public class ServerCertificateMetadata
extends Object
implements Serializable

ServerCertificateMetadata contains information about a server certificate without its certificate body, certificate chain, and private key.

This data type is used as a response element in the action UploadServerCertificate and ListServerCertificates.

See Also:
Serialized Form

Constructor Summary
ServerCertificateMetadata()
          Default constructor for a new ServerCertificateMetadata object.
ServerCertificateMetadata(String path, String serverCertificateName, String serverCertificateId, String arn)
          Constructs a new ServerCertificateMetadata object.
 
Method Summary
 boolean equals(Object obj)
           
 String getArn()
          The Amazon Resource Name (ARN) specifying the server certificate.
 String getPath()
          Path to the server certificate.
 String getServerCertificateId()
          The stable and unique string identifying the server certificate.
 String getServerCertificateName()
          The name that identifies the server certificate.
 Date getUploadDate()
          The date when the server certificate was uploaded.
 int hashCode()
           
 void setArn(String arn)
          The Amazon Resource Name (ARN) specifying the server certificate.
 void setPath(String path)
          Path to the server certificate.
 void setServerCertificateId(String serverCertificateId)
          The stable and unique string identifying the server certificate.
 void setServerCertificateName(String serverCertificateName)
          The name that identifies the server certificate.
 void setUploadDate(Date uploadDate)
          The date when the server certificate was uploaded.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ServerCertificateMetadata withArn(String arn)
          The Amazon Resource Name (ARN) specifying the server certificate.
 ServerCertificateMetadata withPath(String path)
          Path to the server certificate.
 ServerCertificateMetadata withServerCertificateId(String serverCertificateId)
          The stable and unique string identifying the server certificate.
 ServerCertificateMetadata withServerCertificateName(String serverCertificateName)
          The name that identifies the server certificate.
 ServerCertificateMetadata withUploadDate(Date uploadDate)
          The date when the server certificate was uploaded.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerCertificateMetadata

public ServerCertificateMetadata()
Default constructor for a new ServerCertificateMetadata object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ServerCertificateMetadata

public ServerCertificateMetadata(String path,
                                 String serverCertificateName,
                                 String serverCertificateId,
                                 String arn)
Constructs a new ServerCertificateMetadata object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
path - Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
serverCertificateName - The name that identifies the server certificate.
serverCertificateId - The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
arn - The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Method Detail

getPath

public String getPath()
Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Returns:
Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setPath

public void setPath(String path)
Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withPath

public ServerCertificateMetadata withPath(String path)
Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - Path to the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

getServerCertificateName

public String getServerCertificateName()
The name that identifies the server certificate.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The name that identifies the server certificate.

setServerCertificateName

public void setServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
serverCertificateName - The name that identifies the server certificate.

withServerCertificateName

public ServerCertificateMetadata withServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
serverCertificateName - The name that identifies the server certificate.
Returns:
A reference to this updated object so that method calls can be chained together.

getServerCertificateId

public String getServerCertificateId()
The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Returns:
The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setServerCertificateId

public void setServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Parameters:
serverCertificateId - The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withServerCertificateId

public ServerCertificateMetadata withServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Parameters:
serverCertificateId - The stable and unique string identifying the server certificate. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

getArn

public String getArn()
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 20 - 2048

Returns:
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setArn

public void setArn(String arn)
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 20 - 2048

Parameters:
arn - The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withArn

public ServerCertificateMetadata withArn(String arn)
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 20 - 2048

Parameters:
arn - The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

getUploadDate

public Date getUploadDate()
The date when the server certificate was uploaded.

Returns:
The date when the server certificate was uploaded.

setUploadDate

public void setUploadDate(Date uploadDate)
The date when the server certificate was uploaded.

Parameters:
uploadDate - The date when the server certificate was uploaded.

withUploadDate

public ServerCertificateMetadata withUploadDate(Date uploadDate)
The date when the server certificate was uploaded.

Returns a reference to this object so that method calls can be chained together.

Parameters:
uploadDate - The date when the server certificate was uploaded.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.