@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceAuth extends Object implements Serializable, Cloneable, StructuredPojo
Information about the authorization settings for CodeBuild to access the source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
| Constructor and Description |
|---|
SourceAuth() |
| Modifier and Type | Method and Description |
|---|---|
SourceAuth |
clone() |
boolean |
equals(Object obj) |
String |
getResource()
The resource value that applies to the specified authorization type.
|
String |
getType()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResource(String resource)
The resource value that applies to the specified authorization type.
|
void |
setType(SourceAuthType type)
|
void |
setType(String type)
|
String |
toString()
Returns a string representation of this object.
|
SourceAuth |
withResource(String resource)
The resource value that applies to the specified authorization type.
|
SourceAuth |
withType(SourceAuthType type)
|
SourceAuth |
withType(String type)
|
public void setType(String type)
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
type - This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
SourceAuthTypepublic String getType()
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
SourceAuthTypepublic SourceAuth withType(String type)
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
type - This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
SourceAuthTypepublic void setType(SourceAuthType type)
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
type - This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
SourceAuthTypepublic SourceAuth withType(SourceAuthType type)
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
type - This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which represents the OAuth
authorization type.
SourceAuthTypepublic void setResource(String resource)
The resource value that applies to the specified authorization type.
resource - The resource value that applies to the specified authorization type.public String getResource()
The resource value that applies to the specified authorization type.
public SourceAuth withResource(String resource)
The resource value that applies to the specified authorization type.
resource - The resource value that applies to the specified authorization type.public String toString()
toString in class ObjectObject.toString()public SourceAuth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.